﻿using SuperX.Common.Log;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.SuperSocket.Socket.Transfer
{
    public class ConsoleLogHelper
    {
        public static void Trace(string content)
        {
            Console.WriteLine(content);
            Logger.Trace(content);
        }

        public static void Debug(string content)
        {
            // Console.WriteLine(content);
            //Logger.Debug(content);
        }

        public static void Info(string content)
        {
            Console.WriteLine(content);
            Logger.Info(content);
        }

        public static void Warn(string content)
        {
            Console.WriteLine(content);
            Logger.Warn(content);
        }

        public static void Error(string content)
        {
            Console.WriteLine(content);
            Logger.Error(content);
        }

        public static void Fatal(string content)
        {
            Console.WriteLine(content);
            Logger.Fatal(content);
        }
    }
}